<?php
/**
 * Minimal Theme for Croogo CMS
 *
 * @author Fahad Ibnay Heylaal <contact@fahad19.com>
 * @link   http://fahad19.com
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo Configure::read('Site.title'); ?></title>
        <?php
            echo $layout->meta();            
            echo $layout->feed();
            echo $this->Html->meta('icon'); 
            echo $html->script(array('jquery/jquery.min', 'animate'));
            echo $layout->js();
            echo $html->css(array(
                'reset',
                '960',
                'theme',
            ));
            echo $scripts_for_layout;
        ?>
    </head>
    <body>
        <div id="header"></div>
        <div id="box">
            <div id="wrapper">
                <div id="left">
                    <div id="menu"><?php echo $layout->menu('main', array('dropdown' => true)); ?></div>
                    <div id="content"><?php echo $content_for_layout; ?></div>
                </div>
                <div id="right">
                    <div id="bookmarks"><?php echo $layout->blocks('bookmarks'); ?></div>
                    <div id="bar"><?php echo $layout->blocks('right'); ?></div>
                </div>
                <div id="footer">
                    <a href="http://www.cakephp.org"><?php echo $html->image('/img/cake.power.gif', array('style' => 'float:right;')); ?></a>
                    <?php echo $layout->blocks('footer'); ?>
                </div>    
            </div>
        </div>        
        <script type="text/javascript">
            initAnimations();
        </script>
    </body>
</html>